package com.chixing.entity.vo;
//Author:六组刘德华
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

public class OrderVO {
    private Integer orderId;
    private String orderNo;
    private String carCase;
    private String carName;
    private LocalDateTime orderPickupTime;
    private LocalDateTime orderDropoffTime;
    private Integer orderStatus;
    private Integer carSeat;
    private Float carDisplacement;
    private Float carPrice;
    private String custName;
    private String orderPickupShop;
    private String orderDropoffShop;
    private String orderPickupAddress;
    private String orderDropoffAddress;
    private Long orderlease;
    private Integer carImgId;
    private String imgPath;

    /**
     * 开始时间(考试时间期间，一般间隔较长)
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /**
     * 结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @Override
    public String toString() {
        return "OrderVO{" +
                "orderId=" + orderId +
                ", orderNo='" + orderNo + '\'' +
                ", carCase='" + carCase + '\'' +
                ", carName='" + carName + '\'' +
                ", orderPickupTime=" + orderPickupTime +
                ", orderDropoffTime=" + orderDropoffTime +
                ", orderStatus=" + orderStatus +
                ", carSeat=" + carSeat +
                ", carDisplacement=" + carDisplacement +
                ", carPrice=" + carPrice +
                ", custName='" + custName + '\'' +
                ", orderPickupShop='" + orderPickupShop + '\'' +
                ", orderDropoffShop='" + orderDropoffShop + '\'' +
                ", orderPickupAddress='" + orderPickupAddress + '\'' +
                ", orderDropoffAddress='" + orderDropoffAddress + '\'' +
                ", orderlease=" + orderlease +
                ", carImgId=" + carImgId +
                ", imgPath='" + imgPath + '\'' +
                '}';
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public Integer getCarImgId() {
        return carImgId;
    }

    public void setCarImgId(Integer carImgId) {
        this.carImgId = carImgId;
    }

    public Long getOrderlease() {
        return orderlease;
    }

    public void setOrderlease(Long orderlease) {
        this.orderlease = orderlease;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getCarCase() {
        return carCase;
    }

    public void setCarCase(String carCase) {
        this.carCase = carCase;
    }

    public String getCarName() {
        return carName;
    }

    public void setCarName(String carName) {
        this.carName = carName;
    }

    public LocalDateTime getOrderPickupTime() {
        return orderPickupTime;
    }

    public void setOrderPickupTime(LocalDateTime orderPickupTime) {
        this.orderPickupTime = orderPickupTime;
    }

    public LocalDateTime getOrderDropoffTime() {
        return orderDropoffTime;
    }

    public void setOrderDropoffTime(LocalDateTime orderDropoffTime) {
        this.orderDropoffTime = orderDropoffTime;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Integer getCarSeat() {
        return carSeat;
    }

    public void setCarSeat(Integer carSeat) {
        this.carSeat = carSeat;
    }

    public Float getCarDisplacement() {
        return carDisplacement;
    }

    public void setCarDisplacement(Float carDisplacement) {
        this.carDisplacement = carDisplacement;
    }

    public Float getCarPrice() {
        return carPrice;
    }

    public void setCarPrice(Float carPrice) {
        this.carPrice = carPrice;
    }

    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }

    public String getOrderPickupShop() {
        return orderPickupShop;
    }

    public void setOrderPickupShop(String orderPickupShop) {
        this.orderPickupShop = orderPickupShop;
    }

    public String getOrderDropoffShop() {
        return orderDropoffShop;
    }

    public void setOrderDropoffShop(String orderDropoffShop) {
        this.orderDropoffShop = orderDropoffShop;
    }

    public String getOrderPickupAddress() {
        return orderPickupAddress;
    }

    public void setOrderPickupAddress(String orderPickupAddress) {
        this.orderPickupAddress = orderPickupAddress;
    }

    public String getOrderDropoffAddress() {
        return orderDropoffAddress;
    }

    public void setOrderDropoffAddress(String orderDropoffAddress) {
        this.orderDropoffAddress = orderDropoffAddress;
    }
}